package com.waypolice.manager.service.impl;

import com.waypolice.base.BaseServiceImpl;
import com.waypolice.manager.service.StudyManageService;
import com.waypolice.mapper.CmsStudymanagesMapper;
import com.waypolice.pojo.CmsStudymanages;
import com.waypolice.pojo.CmsStudymanagesExample;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 档案编研接口
 * @autor lzh
 * @date 2019/3/25
 */
@Service
public class StudyManageServiceImpl extends BaseServiceImpl<CmsStudymanagesMapper, CmsStudymanages, CmsStudymanagesExample> implements StudyManageService {

    @Autowired
    CmsStudymanagesMapper cmsStudymanagesMapper;
    @Override
    public CmsStudymanages selectByPrimaryKey(String id) {
        return cmsStudymanagesMapper.selectByPrimaryKey(id);
    }

    @Override
    public int deleteByPrimaryKey(String id) {

        return cmsStudymanagesMapper.deleteByPrimaryKey(id);
    }
}